3.1 Overview
3.2 Using Macros
3.3 Command Completion
3.4 Using Abbreviations
3.5 Defining New Abbreviations
With jEdit, you have different methods to insert frequently used commands or command blocks into the command file: macros, command completion, and abbreviations.
In the Sentaurus customization package for jEdit, abbreviations have been defined only for Sentaurus Process. However, macros have been defined for Sentaurus Process, Sentaurus Structure Editor, Sentaurus Device, and Inspect.
The simplest way to quickly insert commands or command blocks is to use macros. The Sentaurus customization package for jEdit provides many predefined macros for all Sentaurus modes.
To insert a macro and to see which macros are available, for example, in Sentaurus Process mode, select Macros > Sentaurus-Process > <name of macro> (see Figure 1).
New macros cannot be defined using the GUI of jEdit. Refer to the SolvNet application note in Section 1.2 Downloading Sentaurus Customizations for details on how new macros can be defined.
Figure 1. Using macros to insert commands. (Click image for full-size view.)
jEdit allows you to start typing a command and then press a combination of keys to show a list of known commands that start with the typed portion. For example, in Sentaurus Structure Editor mode, you can type sdegeo: and then use the shortcut keys Ctrl+b, and jEdit will show a list of all known commands that start with sdegeo:.
Figure 2. Command completion dialog box after pressing Ctrl+b. (Click image for full-size view.)
jEdit allows you to type a portion of the text for a command, and then jEdit completes it automatically. You would typically type a few letters that represent the abbreviation and then press Ctrl+; (the Ctrl key with the semicolon key) to expand the abbreviation.
Abbreviations are mode dependent and have only been defined for Sentaurus Process. To view the list of defined abbreviations:
Figure 3. Predefined abbreviations in Sentaurus Process mode. (Click image for full-size view.)
You can define new abbreviations in any mode. Simply type the abbreviation text into the main command file and then press Ctrl+;. If no abbreviation with that text is already defined, jEdit will display the Add Abbreviation dialog box to define one.
You can choose which text to place before and after the cursor position when the abbreviation is typed, followed by Ctrl+;. The abbreviation can be mode specific or global.

Figure 4. Add Abbreviation dialog box.
Copyright © 2012 Synopsys, Inc. All rights reserved.